<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>注册页面</title>
	<link rel="stylesheet" href="<%=path %>/css/bootstrap.min.css" />
	<link rel="stylesheet" href="<%=path %>/css/easyui.css"/>
	<style>
		body{
		background-color: #f1f1f1;
		}
		.lightBg{
			background-color: #fff;
			padding: 10px 20px;
		}
		.registBody{
			padding: 10px 20px;
		}

	</style>
</head>
<body>

	<div class="container">
		<div class="row lightBg">
			<!--标题-->
			<h2 class="pull-left"><img src="<%=path %>/images/logo.png" style="width: 80px;"> 智游科技项目申报系统</h2>
			<p class="pull-right" style="margin-top: 20px;"><button class="btn btn-warning">常见问题</button></p>
		</div>
		<div class="row" style="margin-top: 20px;">
		<div class="panel panel-info">
			<div class="panel-heading">注册向导</div>
			<div class="panel-body">
				<div class="registBody">
					<div class="alert alert-info" role="alert">个人简要信息</div>
					<form class="form-horizontal" action="doGeRenReg">
						<div class="form-group">
							<label for="input1" class="col-sm-2 control-label">*姓名</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="UName" id="input1" placeholder="">
							</div>
						</div>
						<div class="form-group">
							<label for="input2" class="col-sm-2 control-label">工作单位</label>
							<div class="col-sm-10">							
								<select name="CId" id="input2">
							
								</select>

							</div>
						</div>
						
						<div class="form-group">
							<label for="input4" class="col-sm-2 control-label">手机</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="UPhone" id="input4" placeholder="">
							</div>
						</div>
						
						
						
						<div class="form-group">
							<label for="input5" class="col-sm-2 control-label">证件类型</label>
							<div class="col-sm-10">
								<select name="UPapertype" id="input5">
								
								<option value="身份证">身份证</option>
								<option value="身份证">身份证</option>
								<option value="身份证">身份证</option>
								
								</select>
							</div>
						</div>
						
						<div class="form-group">
							<label for="input6" class="col-sm-2 control-label">证件号码</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="UPapernum" id="input6" placeholder="">
							</div>
						</div>
						
						<div class="form-group">
							<label for="input7" class="col-sm-2 control-label">电子邮箱</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="UEamil" id="input7" placeholder="">
							</div>
						</div>

                        <div class="form-group">
							<label for="input8" class="col-sm-2 control-label">登录密码</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="LPwd" id="input8" placeholder="">
							</div>
						</div>

						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
							    <input type="submit" class="btn btn-primary" value="提交">
								<button type="button" class="btn btn-default">返回</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		</div>
		<footer style="margin-top:40px;">
			<p class="text-center">版权归智游教育所有</p>
		</footer>
	</div>



 
	<script src="<%=path %>/js/jquery-2.1.0.min.js"></script>
	<script src="<%=path %>/js/bootstrap.min.js"></script>
	<script src="<%=path %>/js/jquery.easyui.min.js"></script>
	<script src="<%=path %>/js/jquery.select.js"></script>
	<script type="text/javascript">
		$(function(){
			$.post("<%=path %>/company/getCname",{},
				          function(data){
				        $.each(data,function(i,val){
				        	var a=eval(val)
				        	$("#input2").append("<option value="+a.cId+">"+a.cName+"</option>");
				        })
				          });
			
			
		});
	</script>
</body>
</html>